package com.ruoyi.wetest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 压测上报数据统计对象 wetest_stress_statistics
 * 
 * @author ruoyi
 * @date 2024-04-30
 */
public class WetestStressStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 记录id */
    @Excel(name = "记录id")
    private String testId;

    /** 机器实例id */
    @Excel(name = "机器实例id")
    private Integer instanceId;

    /** 接收包总数 */
    @Excel(name = "接收包总数")
    private Integer recvPkgTotalNum;

    /** 发送包总数 */
    @Excel(name = "发送包总数")
    private Integer sendPkgTotalNum;

    /** 机器人总数 */
    @Excel(name = "机器人总数")
    private Integer robotTotalNum;

    /** 机器人在线数 */
    @Excel(name = "机器人在线数")
    private Integer robotOnlineNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long cTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTestId(String testId) 
    {
        this.testId = testId;
    }

    public String getTestId() 
    {
        return testId;
    }
    public void setInstanceId(Integer instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Integer getInstanceId() 
    {
        return instanceId;
    }
    public void setRecvPkgTotalNum(Integer recvPkgTotalNum) 
    {
        this.recvPkgTotalNum = recvPkgTotalNum;
    }

    public Integer getRecvPkgTotalNum() 
    {
        return recvPkgTotalNum;
    }
    public void setSendPkgTotalNum(Integer sendPkgTotalNum) 
    {
        this.sendPkgTotalNum = sendPkgTotalNum;
    }

    public Integer getSendPkgTotalNum() 
    {
        return sendPkgTotalNum;
    }
    public void setRobotTotalNum(Integer robotTotalNum) 
    {
        this.robotTotalNum = robotTotalNum;
    }

    public Integer getRobotTotalNum() 
    {
        return robotTotalNum;
    }
    public void setRobotOnlineNum(Integer robotOnlineNum) 
    {
        this.robotOnlineNum = robotOnlineNum;
    }

    public Integer getRobotOnlineNum() 
    {
        return robotOnlineNum;
    }
    public void setcTime(Long cTime) 
    {
        this.cTime = cTime;
    }

    public Long getcTime() 
    {
        return cTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("testId", getTestId())
            .append("instanceId", getInstanceId())
            .append("recvPkgTotalNum", getRecvPkgTotalNum())
            .append("sendPkgTotalNum", getSendPkgTotalNum())
            .append("robotTotalNum", getRobotTotalNum())
            .append("robotOnlineNum", getRobotOnlineNum())
            .append("cTime", getcTime())
            .toString();
    }
}
